<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
</head>
<body>
<div id="app">
    <el-button @click="visible = true">Button</el-button>
    <el-dialog :visible.sync="visible" title="Hello world">
        <p>Try Element</p>
    </el-dialog>
    <el-table
            :data="tableData"
            style="width: 100%">
        <el-table-column
                prop="content"
                label="内容"
                width="180">
        </el-table-column>
        <el-table-column
                prop="name"
                label="姓名"
                width="180">
        </el-table-column>
        <el-table-column
                prop="date"
                label="日期">
        </el-table-column>
    </el-table>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://unpkg.com/vue@2/dist/vue.js"></script>
<!-- import JavaScript -->
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
<script>
    new Vue({
        el: '#app',
        data: function() {
            return { visible: false,
                tableData: [
                    {
                        content: '服务态度不好，希望能改进',
                        name: '张三',
                        date: '2024-4-20 14:00:00'
                    },
                    {
                        content: '预约方便多了，很好',
                        name: '王五',
                        date: '2024-3-10 11:20:00'
                    },
                    {
                        content: '预约方便多了，很好，预约方便多了，很好',
                        name: '赵四',
                        date: '2024-2-15 09:10:00'
                    }
                ]}
        }
    })
</script>
</html>